<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<link type="text/css" rel="stylesheet" href="../zxy/css/emp_info/emp_communication.css">
	<div id="zxy_ec_emp_communication_tool">
		<a id="zxy_ec_emp_communication_tool_edit" class="easyui-linkbutton"></a>
	</div>
	<div class="zxy_ec_content">
		<div class="zxy_ec_view_content">
			<table class="zxy_ec_table">
				<tbody>
					<tr>
						<td><span class="zxy_ec_table_title">电话1</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.tel1 }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">电话2</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.tel2 }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">传真</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.fax }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">电子邮件</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.email }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">现住址</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.currentAddress }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">紧急联系人</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.contactPerson}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">紧急联系人电话</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.contactTel}</span></td>
					</tr>	
							
				</tbody>
			</table>
		</div>
	</div>
	
	<div class="zxy_ec_content">
		<div class="zxy_ec_view_content">
			<table class="zxy_ec_table">
				<tbody>
					<tr>
						<td><span class="zxy_ec_table_title">邮政编码</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.postalCode}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">国家</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.country}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">省</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.province}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_ec_table_title">城市</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.city}</span></td>
					</tr>	
					<tr>
						<td><span class="zxy_ec_table_title">区</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.district}</span></td>
					</tr>	
					<tr>
						<td><span class="zxy_ec_table_title">详细地址</span></td>
						<td><span class="zxy_ec_table_item">${emp.empCommunicationInfo.address}</span></td>
					</tr>	
				</tbody>
			</table>
		</div>
	</div>
	
	
	
	<div id="zxy_ec_window"></div>
	
	<input type="hidden" id="zxy_ec_emp_id" value="${emp.empId }"/>
	<script>
		var empId=$("#zxy_ec_emp_id").val();
		/* $("#zxy_ec_window").window({
			width:1000,
		    height:400,
		    modal:true,
		    collapsible:false,
		    minimizable:false,
		    maximizable:false,
		    resizable:false,
		    href:'../emp/empBasicEdit',
		    closed:true
		}); */
		//编辑按钮
		$("#zxy_ec_emp_communication_tool_edit").linkbutton({
			 iconCls:'icon-edit',
			 text:'编辑',
			 onClick:function(){
				 zxy_ec_edit_emp();
			 }
		});
		function zxy_ec_edit_emp(){
			$("#zxy_ei_emp_communication").panel("refresh","../emp/empCommunicationEdit?empId="+empId);
	    	/* $("#zxy_ec_emp_basic").panel({
				tools:"#zxy_ec_emp_basic_eidt_tool"
			}); */
		}
	</script>
</body>
</html>